public class Dog {
    public String name;
    public int age;
    public String color;
    public void Woof(){
        System.out.println(name+"正在汪汪汪");
    }
    public void Eat(){
        System.out.println(name+"正在吃饭");
    }
    public void show(){
        System.out.println("姓名: "+name+" 年龄: "+age+" 颜色: "+color);
    }

}

